function getCookie(a) {
    return 0 < document.cookie.length && (c_start = document.cookie.indexOf(a + "="), - 1 != c_start) ? (c_start = c_start + a.length + 1, c_end = document.cookie.indexOf(";", c_start), - 1 == c_end && (c_end = document.cookie.length), unescape(document.cookie.substring(c_start, c_end))) : ""
}
function setCookie(a, d, c) {
    var b = new Date;
    b.setDate(b.getDate() + c);
    document.cookie = a + "=" + escape(d) + (null == c ? "" : ";path=/;expires=" + b.toUTCString())
}
var _ADSLocation = getCookie("__R"),
    _ADSCity = getCookie("__RC");
_ADSMb = getCookie("__M");
4 != parseInt(_ADSCity) && (setCookie("__RC", 4, null), _ADSCity = 4);
1 != parseInt(_ADSLocation) && (setCookie("__R", 1, null), _ADSLocation = 1);
"2_5.0_ _3_10_5.1" != _ADSMb && (setCookie("__M", "2_5.0_ _3_10_5.1", null), _ADSMb = "2_5.0_ _3_10_5.1");